package com.pf.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 注册用户
 *
 * @author PanFei
 * @version 1.0.0
 * @createTime 2021/12/19 20:11
 */
@Data
public class RegisterUserReq {

    /**
     * 账号
     */
    @NotBlank(message = "参数【account】不能为空")
    private String account;

    /**
     * 密码
     */
    @NotBlank(message = "参数【password】不能为空")
    private String password;

    /**
     * 确认密码
     */
    @NotBlank(message = "参数【rePassword】不能为空")
    private String rePassword;
}
